﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001111 RID: 4369
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectPhoneThemeScRsp : IMessage<SelectPhoneThemeScRsp>, IMessage, IEquatable<SelectPhoneThemeScRsp>, IDeepCloneable<SelectPhoneThemeScRsp>, IBufferMessage
	{
		// Token: 0x17003759 RID: 14169
		// (get) Token: 0x0600C384 RID: 50052 RVA: 0x00210BF9 File Offset: 0x0020EDF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectPhoneThemeScRsp> Parser
		{
			get
			{
				return SelectPhoneThemeScRsp._parser;
			}
		}

		// Token: 0x1700375A RID: 14170
		// (get) Token: 0x0600C385 RID: 50053 RVA: 0x00210C00 File Offset: 0x0020EE00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectPhoneThemeScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700375B RID: 14171
		// (get) Token: 0x0600C386 RID: 50054 RVA: 0x00210C12 File Offset: 0x0020EE12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectPhoneThemeScRsp.Descriptor;
			}
		}

		// Token: 0x0600C387 RID: 50055 RVA: 0x00210C19 File Offset: 0x0020EE19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPhoneThemeScRsp()
		{
		}

		// Token: 0x0600C388 RID: 50056 RVA: 0x00210C21 File Offset: 0x0020EE21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPhoneThemeScRsp(SelectPhoneThemeScRsp other) : this()
		{
			this.bMGPODKNLNG_ = other.bMGPODKNLNG_;
			this.curPhoneTheme_ = other.curPhoneTheme_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C389 RID: 50057 RVA: 0x00210C5E File Offset: 0x0020EE5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPhoneThemeScRsp Clone()
		{
			return new SelectPhoneThemeScRsp(this);
		}

		// Token: 0x1700375C RID: 14172
		// (get) Token: 0x0600C38A RID: 50058 RVA: 0x00210C66 File Offset: 0x0020EE66
		// (set) Token: 0x0600C38B RID: 50059 RVA: 0x00210C6E File Offset: 0x0020EE6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BMGPODKNLNG
		{
			get
			{
				return this.bMGPODKNLNG_;
			}
			set
			{
				this.bMGPODKNLNG_ = value;
			}
		}

		// Token: 0x1700375D RID: 14173
		// (get) Token: 0x0600C38C RID: 50060 RVA: 0x00210C77 File Offset: 0x0020EE77
		// (set) Token: 0x0600C38D RID: 50061 RVA: 0x00210C7F File Offset: 0x0020EE7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CurPhoneTheme
		{
			get
			{
				return this.curPhoneTheme_;
			}
			set
			{
				this.curPhoneTheme_ = value;
			}
		}

		// Token: 0x1700375E RID: 14174
		// (get) Token: 0x0600C38E RID: 50062 RVA: 0x00210C88 File Offset: 0x0020EE88
		// (set) Token: 0x0600C38F RID: 50063 RVA: 0x00210C90 File Offset: 0x0020EE90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600C390 RID: 50064 RVA: 0x00210C99 File Offset: 0x0020EE99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectPhoneThemeScRsp);
		}

		// Token: 0x0600C391 RID: 50065 RVA: 0x00210CA8 File Offset: 0x0020EEA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectPhoneThemeScRsp other)
		{
			return other != null && (other == this || (this.BMGPODKNLNG == other.BMGPODKNLNG && this.CurPhoneTheme == other.CurPhoneTheme && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C392 RID: 50066 RVA: 0x00210D04 File Offset: 0x0020EF04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BMGPODKNLNG != 0U)
			{
				num ^= this.BMGPODKNLNG.GetHashCode();
			}
			if (this.CurPhoneTheme != 0U)
			{
				num ^= this.CurPhoneTheme.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C393 RID: 50067 RVA: 0x00210D75 File Offset: 0x0020EF75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C394 RID: 50068 RVA: 0x00210D7D File Offset: 0x0020EF7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C395 RID: 50069 RVA: 0x00210D88 File Offset: 0x0020EF88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.CurPhoneTheme != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.CurPhoneTheme);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this.BMGPODKNLNG != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.BMGPODKNLNG);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C396 RID: 50070 RVA: 0x00210E00 File Offset: 0x0020F000
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BMGPODKNLNG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BMGPODKNLNG);
			}
			if (this.CurPhoneTheme != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CurPhoneTheme);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C397 RID: 50071 RVA: 0x00210E70 File Offset: 0x0020F070
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectPhoneThemeScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BMGPODKNLNG != 0U)
			{
				this.BMGPODKNLNG = other.BMGPODKNLNG;
			}
			if (other.CurPhoneTheme != 0U)
			{
				this.CurPhoneTheme = other.CurPhoneTheme;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C398 RID: 50072 RVA: 0x00210ED4 File Offset: 0x0020F0D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C399 RID: 50073 RVA: 0x00210EE0 File Offset: 0x0020F0E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 88U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.BMGPODKNLNG = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.CurPhoneTheme = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004EE5 RID: 20197
		private static readonly MessageParser<SelectPhoneThemeScRsp> _parser = new MessageParser<SelectPhoneThemeScRsp>(() => new SelectPhoneThemeScRsp());

		// Token: 0x04004EE6 RID: 20198
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004EE7 RID: 20199
		public const int BMGPODKNLNGFieldNumber = 13;

		// Token: 0x04004EE8 RID: 20200
		private uint bMGPODKNLNG_;

		// Token: 0x04004EE9 RID: 20201
		public const int CurPhoneThemeFieldNumber = 2;

		// Token: 0x04004EEA RID: 20202
		private uint curPhoneTheme_;

		// Token: 0x04004EEB RID: 20203
		public const int RetcodeFieldNumber = 11;

		// Token: 0x04004EEC RID: 20204
		private uint retcode_;
	}
}
